package com.yunhe.policyfulfillment.policyful.service;

import com.yunhe.policyfulfillment.policyful.domain.Annex;

/**
 * @ClassName: AnnexService
 * @Description:
 * @author: GongDaCheng
 * @Date: 16:02 2021/8/24
 */
public interface AnnexService {

    /**
     * @Description 新增附件
     * @Param Annex annex
     * @Return int
     * @Date 2021/8/24 16:03
     */
    int createAnnex(Annex annex);

    /**
     * @Description 根据id查询附件
     * @Param long id
     * @Return Annex
     * @Date 2021/8/24 16:04
     */
    Annex findAnnexById(long id);
}
